/**
 * Markdown Editor
 */
.MDEditor_editor {
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.MDEditor_editor textarea {
  height: 100%;
  width: 100%;
}

.MDEditor_editor .CodeMirror {
  height: 100%;
}

.MDEditor_editor .CodeMirror  pre {
  white-space: normal;
  word-wrap: break-word;
}

.MDEditor_toolbar {
  width: 360px;
  margin: 4px auto;
}

.MDEditor_toolbarButton {
  background: #eee;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  margin-right: 4px;
  padding: 10px 0;
  text-align: center;
  vertical-align: middle;
  width: 40px;
  transition: all 180ms;
  -webkit-transition: all 180ms;
}

.MDEditor_toolbarButton:hover,
.MDEditor_toolbarButton:focus {
  background-color: white;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: none;
  -webkit-transition: none;
}

.MDEditor_toolbarButton:active,
.MDEditor_toolbarButton--pressed {
  background-color: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}

.MDEditor_toolbarButton:active:hover,
.MDEditor_toolbarButton--pressed:hover {
  background: rgba(0, 0, 0, 0.2);
}

.MDEditor_toolbarButton_icon {
  display: inline-block;
  height: 16px;
  width: 16px;
}

.MDEditor_toolbarButton_icon > svg {
  height: 16px;
  width: 16px;
}

.MDEditor_toolbarButton_label {
  display: none;
}

.MDEditor_toolbarButton_label-icon {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  line-height: .9;
  height: 16px;
  text-transform: uppercase;
}
